﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using MySql.Data.MySqlClient;

namespace DAL
{
    /// <summary>
    /// 数据字典查询
    /// </summary>
   public class DictionaryDAL
    {
       //查询门型编号
       public DataTable GetByMXBH(string isdel) {
           
           DataTable dt = SqlHelper.ExecuteDataTable("select * from mxbh where isdel=@isdel",
                new MySqlParameter("@isdel", isdel));
           return dt;

       }
       //装饰线条类别查询
       public DataTable GetByZSXT(string zslb) {
           DataTable dt = SqlHelper.ExecuteDataTable("select * from zsxt where zslb=@zslb",
               new MySqlParameter("@zxlb",zslb));
           return dt;
       }
    }
}
